package com.spbdx.studyspringboot.duty_chain.chain;

import com.spbdx.studyspringboot.duty_chain.entity.Product;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

/**
 * @Author: fan
 * @CreateTime 2025/1/1 22:03
 * @Description 责任链扩展
 * @Version 1.0
 */
@Service
@Order(4)
public class FanHandler extends IHandler<Object,Boolean>{

    @Override
    public Boolean handle(Object obj) {
        System.out.println(4);
        return super.handle(obj);
    }
}
